using System;
using System.Runtime.InteropServices;


namespace FinlogiK.FxCop.Statistics.Windows
{
	internal static class NativeMethods
	{
		#region Fields

		internal const int ParentConsoleProcessId = -1;

		#endregion

		#region Methods

		[DllImport("kernel32.dll", SetLastError = true, ExactSpelling = true)]
		[return: MarshalAs(UnmanagedType.Bool)]
		internal static extern bool AttachConsole(int processId);

		#endregion
	}
}